package vn.mahjonggame.metadata;

public enum GameActionType {	
	pickTile("pickTile"),
	pickTileFromDeathWall("pickTileFromDeathWall"),
	throwTile("throwTile"),
	throwTileAfterKan("throwTileAfterKan"),
	callChi("callChi"),
	callPon("callPon"),
	callKan("callKan"),
	callPrivatedKan("callPrivatedKan"),
	callTsumo("callTsumo"),
	cancelTsumo("cancelTsumo"),
	callRiichi("callRiichi"),
	cancelPon("cancelPon"),
	cancelKan("cancelKan"),
	cancelChi("cancelChi"),
	callRon("callRon"),
	cancelRon("cancelRon"),
	callFinish("callFinish"),
	updateRoom("updateRoom"),
	resetTimer("resetTimer"),
	skip("skip"),
	waitting("waitting"),
	outRoom("outRoom"),
	
	createReplayRoom("createReplayRoom"),
	createMahjongRoom("createMahjongRoom"),
	joinMahjongRoom("joinMahjongRoom"),
	
	create("create"),
	login("login"),
	create_fail("create_fail"),
	join("join"),
	join_zone("join_zone"),
	join_fail("join_fail"),
	leave("leave"),
	start("start"),
	disconnect("disconnect"),
	reconnect("reconnect"),
	ready("ready"),	
	finish("finish");
	
	private final String type;
	
	GameActionType(final String type) {
		this.type = type;
	}
	
	@Override
    public String toString() {
        return type;
    }
}
